#pragma once

#include "thread/thread.h"

#include <atomic>
#include <Windows.h>

namespace renderit
{
	namespace thread
	{
		HANDLE create_thread(void(*f)(void *), void * p);
		bool wait_thread(HANDLE);
		bool wait_threads(HANDLE *, uint32 count);
	}
}